richlistitem[selected="true"] {
	background-color: #00c;
	color: #fff;
}

#blog-sidebar-listing-categories richlistitem[selected="true"] {
	background-color: #fff;
	color: #000;
}

#performancing-mainwindow {
	-moz-box-pack: end;
}

#sf-toolbar toolbarbutton {
	list-style-image: url("chrome://scribefire/skin/mobile/toolbarbutton-default-64.png");
	-moz-box-orient: vertical;
}

#sf-button-editor {
	list-style-image: url("chrome://scribefire/skin/mobile/toolbarbutton-default-editor.png") !important; 
}

#sf-button-editor:active, #sf-button-editor[active="active"] {
	list-style-image: url("chrome://scribefire/skin/mobile/toolbarbutton-active-editor.png") !important; 
}

#sf-button-blogs {
	list-style-image: url("chrome://scribefire/skin/mobile/toolbarbutton-default-blogs.png") !important; 
}

#sf-button-blogs:active, #sf-button-blogs[active="active"] {
	list-style-image: url("chrome://scribefire/skin/mobile/toolbarbutton-active-blogs.png") !important; 
}

#sf-button-categories {
	list-style-image: url("chrome://scribefire/skin/mobile/toolbarbutton-default-categories.png") !important; 
}

#sf-button-categories:active, #sf-button-categories[active="active"] {
	list-style-image: url("chrome://scribefire/skin/mobile/toolbarbutton-active-categories.png") !important; 
}

#sf-button-entries {
	list-style-image: url("chrome://scribefire/skin/mobile/toolbarbutton-default-entries.png") !important; 
}

#sf-button-entries:active, #sf-button-entries[active="active"] {
	list-style-image: url("chrome://scribefire/skin/mobile/toolbarbutton-active-entries.png") !important; 
}

/*
#sf-toolbar toolbarbutton:active, #sf-toolbar toolbarbutton[active="active"] {
	list-style-image: url("chrome://scribefire/skin/mobile/toolbarbutton-active-64.png");
}
*/
#sf-toolbar toolbarbutton label {
	display: block !important;
	font-size: 0.5em !important;
}

#editor-tabbox, #scribefire-screens {
	padding: 0;
	margin: 0;
}

#editor-tabs {
	padding-top: 1mm;
}

.tab {
	-moz-appearance: none;
	width: 5em;
	height: 2.5em;
	border: 0.3em solid transparent;
	border-bottom-width: 0;
	background: #fff;
	color: #000;
	margin-bottom: 1mm;
	display: block;
	padding: 0.3em 0.3em 0 0.3em;
	-moz-border-radius: 0.5em 0.5em 0 0;
}

.tab[selected="true"] {
	border-color: #262629;
}

#scribefire-new-tab {
	list-style-image: url("chrome://browser/skin/images/newtab-default-64.png");
}

#scribefire-close-tab {
	list-style-image: url("chrome://browser/skin/images/close-40.png");
	margin-left: 14px;
	margin-right: 14px;
}

#panels-parent {
	padding: 0;
}

@media (orientation: landscape) {
	#performancing-mainwindow {
		-moz-box-orient: horizontal;
	}
	
	#editor-tabbox {
		-moz-box-orient: horizontal;
	}
	
	#sf-toolbar {
		-moz-box-orient: vertical;
		border-left: 2px solid #1c1c1c;
	}
	
	#editor-tabs {
		-moz-box-orient: vertical;
	}
	
	#tabs-parent {
		-moz-box-orient: vertical;
	}
}

@media (orientation: portrait) {
	#performancing-mainwindow {
		-moz-box-orient: vertical;
	}
	
	#editor-tabbox {
		-moz-box-orient: vertical;
	}
	
	#sf-toolbar {
		-moz-box-orient: horizontal;
		border-top: 2px solid #1c1c1c;
	}
	
	#editor-tabs {
		-moz-box-orient: horizontal;
	}

	#tabs-parent {
		-moz-box-orient: horizontal;
	}
}

#editor-tabbox {
	-moz-box-orient: vertical;
}

#editor-tabs {
	-moz-box-orient: horizontal;
}

#tabs-parent {
	-moz-box-orient: horizontal;
}

#sf-toolbar {
	background-color: #262629;
}